Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardInsertCommand Class / InsertCells Method / InsertCells(IWorksheet,EventHandler<ReturnEventArgs<Nullable<InsertShiftDirection>>>) Method
The current worksheet.
An event handle to detect inserting direct.


In This Topic
    InsertCells(IWorksheet,EventHandler<ReturnEventArgs<Nullable<InsertShiftDirection>>>) Method
    In This Topic
    Initializes a new instance of the ClipboardInsertCommand class.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function InsertCells( _
       ByVal worksheet As IWorksheet, _
       ByVal queryInsertOptions As EventHandler(Of ReturnEventArgs(Of Nullable(Of InsertShiftDirection))) _
    ) As Command
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim queryInsertOptions As EventHandler(Of ReturnEventArgs(Of Nullable(Of InsertShiftDirection)))
    Dim value As Command
     
    value = ClipboardInsertCommand.InsertCells(worksheet, queryInsertOptions)

    Parameters

    worksheet
    The current worksheet.
    queryInsertOptions
    An event handle to detect inserting direct.
    See Also